package Presentation;

import Data.Symptoms;
import Logic.SymptomsFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.inject.Named;
import javax.inject.Inject;
import javax.enterprise.context.SessionScoped;

@Named(value = "symptomsController")
@SessionScoped
public class SymptomsController extends AbstractController<Symptoms> implements Serializable {

    @Inject
    private SymptomsFacade ejbFacade;

    public SymptomsController() {
        super(Symptoms.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
